#set($title = "注册")
#set($domain= "中华游戏网")
#parse("/home/_header.html")
<div id=nav>
    <a href="/">$domain</a>
    &raquo;&nbsp; $title
</div>
<form name="form" id="form" action="/myforum/register" method="post">
    <input type="hidden" name="frompath" value="">
    <div class="mainbox formbox">
        <span class="headactions"><a class="notabs" href="/help/credits_rule" target="_blank">查看积分策略说明</a></span>
        <h1>$title</h1>
        <table cellspacing="0" cellpadding="0">
            <thead>
                <tr>
                    <th>
                        基本信息 ( <em>*</em> 为必填项)
                    </th>
                    <td>
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <th>
                        <label for="verifycode">
                            验证码 <em>*</em>
                        </label>
                    </th>
                    <td>
                       <div id="verifycodeimage" style="margin-bottom:3px">
                           <img src="/captcha-image"   id= "kaptchaImage" width="112" height="42"  class="absmiddle" alt="验证码" title="看不清？点击刷新验证码！" />
                        </div><input id="verifycode"  tabindex="1" maxlength="4" size="15" name="verifycode">
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="userid">
                            用户名 <em>*</em>
                        </label>
                    </th>
                    <td>
                        <input id="userid"  tabindex="2" maxlength="15" size="25" name="userid">
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="nickname">
                            呢称
                        </label>
                    </th>
                    <td>
                        <input id="nickname" tabindex="3" maxlength="15" size="25" name="nickname">
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="pwd1">
                            密码 <em>*</em>
                        </label>
                    </th>
                    <td>
                        <input id="pwd1" tabindex="4" type="password" maxlength="15" size="25" name="pwd1">
                        <input type="hidden" id="pwd" name="pwd">
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="pwd2">
                            确认密码 <em>*</em>
                        </label>
                    </th>
                    <td>
                        <input id="pwd2" tabindex="5" type="password" maxlength="15" size="25" name="pwd2">
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="email">
                            email <em>*</em>
                        </label>
                    </th>
                    <td>
                        <input id="email"  tabindex="6" size="25" maxlength="40" name="email" autocomplete="off">
                    </td>
                </tr>
                <tr>
                    <th>
                        &nbsp;
                    </th>
                    <td>
                        <input class="checkbox" id="advshow"  tabindex="12" type="checkbox" value="1" name="advshow">显示扩展信息
                    </td>
                </tr>
            </tbody>
        </table>
        <table id="adv" style="display: none" cellspacing="0" cellpadding="0">
            <thead>
                <tr>
                    <th>
                        扩展信息
                    </th>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <th>
                        性别
                    </th>
                    <td>
                        <input tabindex="17" type="radio" value="m" name="gender">男&nbsp; <input tabindex="18" type="radio" value="f" name="gender"> 女&nbsp; <input tabindex="19" type="radio" checked="" value="u" name="gender"> 保密
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="birth">
                            生日
                        </label>
                    </th>
                    <td>
                        <input id="birth" tabindex="20" size="25" maxlength="10"  name="birth" readonly="readonly">(&nbsp;格式为 yyyy-mm-dd , 年-月-日&nbsp;)
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="city">
                            来自
                        </label>
                    </th>
                    <td>
                        <select id="ddlProvince"></select><select id="ddlCity"><input id="city" tabindex="21" size="25" maxlength="20" name="city" style="display:none">
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="webpage">
                            个人主页
                        </label>
                    </th>
                    <td>
                        <input id="webpage" tabindex="22" size="25" maxlength="40" name="webpage">
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="icq">
                            qq
                        </label>
                    </th>
                    <td>
                        <input id="icq" tabindex="23" size="25" maxlength="40" name="icq">
                    </td>
                </tr>
                <tr>
                    <th valign="top">
                        <label for="brief">
                            自我介绍
                        </label>
                    </th>
                    <td>
                        <textarea id="brief" tabindex="28" name="brief" rows="5" cols="40" maxlength="200">
                        </textarea>
                    </td>
                </tr>
                <tr>
                    <th>
                    </th>
                    <td>
                        <input tabindex="42" type="checkbox" value="t" name="ismailpub">email 地址可见
                    </td>
                </tr>
            </tbody>
        </table>
        <table cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="btns">
                    <th>
                        <label>
                            注册条款
                        </label>
                    </th>
                    <td>
                        <input class="checkbox" id="protocol" tabindex="99" type="checkbox" value="t"  name="protocol">&nbsp;我已仔细阅读并接受&nbsp;»&nbsp;<a href="./help/protocol.jsp" target="_blank">论坛用户守则</a>
                    </td>
                </tr>
                <tr>
                    <th>
                        &nbsp;
                    </th>
                    <td height="30">
                        <button class="submit" tabindex="100" name="regsubmit" type="submit"  id="regsubmit" >
                            提交
                        </button>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</form>
#includeJqueryUI
#includeJs(["jquery-city","jquery.validate","email_suggest","datepicker_zh","forum/register"])
#includeCss(["myforum","email_suggest"])
